
<%@ page import="musgo.Cancion" %>
<!doctype html>
<html>
	<head>
		<meta name="layout" content="main">
		<g:set var="entityName" value="${message(code: 'cancion.label', default: 'Cancion')}" />
		<title><g:message code="default.show.label" args="[entityName]" /></title>
	</head>
	<body>
		<a href="#show-cancion" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
		<div class="nav" role="navigation">
			<ul>
				<li><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></li>
				<li><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></li>
				<li><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
			</ul>
		</div>
		<div id="show-cancion" class="content scaffold-show" role="main">
			<h1><g:message code="default.show.label" args="[entityName]" /></h1>
			<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
			</g:if>
			<ol class="property-list cancion">
			
				<g:if test="${cancionInstance?.nombreC}">
				<li class="fieldcontain">
					<span id="nombreC-label" class="property-label"><g:message code="cancion.nombreC.label" default="Nombre C" /></span>
					
						<span class="property-value" aria-labelledby="nombreC-label"><g:fieldValue bean="${cancionInstance}" field="nombreC"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${cancionInstance?.valoracion}">
				<li class="fieldcontain">
					<span id="valoracion-label" class="property-label"><g:message code="cancion.valoracion.label" default="Valoracion" /></span>
					
						<span class="property-value" aria-labelledby="valoracion-label"><g:fieldValue bean="${cancionInstance}" field="valoracion"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${cancionInstance?.letra}">
				<li class="fieldcontain">
					<span id="letra-label" class="property-label"><g:message code="cancion.letra.label" default="Letra" /></span>
					
						<span class="property-value" aria-labelledby="letra-label"><g:fieldValue bean="${cancionInstance}" field="letra"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${cancionInstance?.mp3}">
				<li class="fieldcontain">
					<span id="mp3-label" class="property-label"><g:message code="cancion.mp3.label" default="Mp3" /></span>
					
						<span class="property-value" aria-labelledby="mp3-label"><g:link controller="archivoMusica" action="show" id="${cancionInstance?.mp3?.id}">${cancionInstance?.mp3?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${cancionInstance?.album}">
				<li class="fieldcontain">
					<span id="album-label" class="property-label"><g:message code="cancion.album.label" default="Album" /></span>
					
						<span class="property-value" aria-labelledby="album-label"><g:link controller="album" action="show" id="${cancionInstance?.album?.id}">${cancionInstance?.album?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${cancionInstance?.cometarios}">
				<li class="fieldcontain">
					<span id="cometarios-label" class="property-label"><g:message code="cancion.cometarios.label" default="Cometarios" /></span>
					
						<g:each in="${cancionInstance.cometarios}" var="c">
						<span class="property-value" aria-labelledby="cometarios-label"><g:link controller="comentario" action="show" id="${c.id}">${c?.encodeAsHTML()}</g:link></span>
						</g:each>
					
				</li>
				</g:if>
			
				<g:if test="${cancionInstance?.duracion}">
				<li class="fieldcontain">
					<span id="duracion-label" class="property-label"><g:message code="cancion.duracion.label" default="Duracion" /></span>
					
						<span class="property-value" aria-labelledby="duracion-label"><g:fieldValue bean="${cancionInstance}" field="duracion"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${cancionInstance?.numdescargas}">
				<li class="fieldcontain">
					<span id="numdescargas-label" class="property-label"><g:message code="cancion.numdescargas.label" default="Numdescargas" /></span>
					
						<span class="property-value" aria-labelledby="numdescargas-label"><g:fieldValue bean="${cancionInstance}" field="numdescargas"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${cancionInstance?.reproducciones}">
				<li class="fieldcontain">
					<span id="reproducciones-label" class="property-label"><g:message code="cancion.reproducciones.label" default="Reproducciones" /></span>
					
						<span class="property-value" aria-labelledby="reproducciones-label"><g:fieldValue bean="${cancionInstance}" field="reproducciones"/></span>
					
				</li>
				</g:if>
			
			</ol>
			<g:form>
				<fieldset class="buttons">
					<g:hiddenField name="id" value="${cancionInstance?.id}" />
					<g:link class="edit" action="edit" id="${cancionInstance?.id}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
					<g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
				</fieldset>
			</g:form>
		</div>
	</body>
</html>
